package com.kerry.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TestController {
	
	@RequestMapping("/test")
	@ResponseBody
	public Object test(){
		System.out.println("eclipse update!!!!");


		System.out.print("web update!!!");


		return "test";
	}

	@RequestMapping("/hello")
	@ResponseBody
	public Object hello(){
		System.out.print("web update hello!!!");
		return "hello";
	}
	
	@RequestMapping("/hi")
	@ResponseBody
	public Object hi(){
		System.out.println("eclipse update!!!!");
		return "hi";
	}
	
	@RequestMapping("/html")
	public Object html(){
		
		System.out.println("local branch test....");
		
		
		System.out.println("ddddddddddddd");
		
		
		System.out.println("eclipe branch fenzhi update ....");
		return "test.html";
	}

}
